cboj-payments-prc-api
Get Swift Image
Description:
his API fetches the Swift details of a given FT reference number.
Mulesoft Request:
Headers:
Mandatory Headers: x-channel-id,x-client-trace-id, x-bank-id,client_id, client_secret
Optional Headers: x-sub-channel-id,x-user-id, Authorization, x-debug-flag, x-customer-id
Paramaters:
URI Params: ftReference
Query Params: NA
Content-type: application/json
Body:
NA
Mulesoft Response:
Success Response: (200)
{
"swiftInfo": "!!!14/07/20-19:37:29\t Ack103toFile-0725-000001 \t 1!_______________________________________________________________________________!\t--------------------- Instance Type and Transmission --------------\t! Notification (Transmission) of Original sent to SWIFT (ACK)! Network Delivery Status : Network Ack ! Priority/Delivery : Normal! Message Input Reference : 1937 200714EFBKJOAMAXXX9342650891!\t--------------------------- Message Header -------------------------\t! Swift Input : FIN 103 Single Customer Credt Transfer! Sender : EFBKJOAMXXX ! CAPITAL BANK OF JORDAN! AMMAN JO! Receiver : CITIUS33XXX! CITIBANK N.A.! NEW YORK%NY US! UETR : ab28e5bf-fb23-4fcb-8173-8e4b91bf289d!\t--------------------------- Message Text ---------------------------\t! 20: Sender's Reference! FT19168RFFH1/1! 23B: Bank Operation Code! CRED! 32A: Val Dte/Curr/Interbnk Settld Amt! Date : 16 July 2020! Currency : USD (US DOLLAR)! Amount : #37681%20#! 50A: Ordering Customer - BIC! EFBKJOAMXXX! CAPITAL BANK OF JORDAN! AMMAN JO! 56A: Intermediary Institution - FI BIC! BKTRUS33XXX! DEUTSCHE BANK TRUST COMPANY AMERICAS! NEW YORK%NY US! 57A: Account With Institution - FI BIC! SIBCSARI! SAUDI INVESTMENT BANK% THE! RIYADH SA! 59: Beneficiary Customer-Name & Addr! /SA5665000000101400960017! THE SAUDI FUND FOR DEVELOPMENT! 71A: Details of Charges! OUR! 72: Sender to Receiver Information! /ACC/SETT OF P AND I REGARDING ! //L-JOR-0018-0010 INV FT19168RFFH1!\t--------------------------- Message Trailer ------------------------\t! {CHK:3BBFFDF69A12}! PKI Signature: MAC-Equivalent!\t---------------------------- Interventions -------------------------\t! Category : Network Report! Creation Time : 14/07/20 19:37:20! Application : SWIFT Interface! Operator : SYSTEM! Text! {1:F21EFBKJOAMAXXX9342650891}{4:{177:2007141937}{451:0}}",
"status": {
"success": true,
"code": "200",
"arabicMessage": "تمت العملية بنجاØ",
"englishMessage": "The Operation has been Successfully Completed"
}
}
Sample Error Response:
Please refer the HOME page for all possible combinations of error response codes.
Note: The 'errorCode' and 'backendErrorMessage' will be in the error response message only if 'x-debug-flag' is '1'
404 :
{
"status": {
"success": false,
"code": "T24003799",
"reasonCode": "",
"arabicMessage": "NO SIGN ON NAME SUPPLIED DURING SIGN ON PROCESS",
"englishMessage": "NO SIGN ON NAME SUPPLIED DURING SIGN ON PROCESS",
"errorCode": "T24003799",
"errorDescription": "INVALID/ NO SIGN ON NAME SUPPLIED DURING SIGN ON PROCESS"
}
}